import request from "@/utils/request";

// 获取列表
export function getAllList() {
  return request({
    url: "/evaluationSummary/getEconomicLossesSummary",
    method: "post",
//  data: data,
  });
}
// 获取列表
export function getAllList1(data) {
  return request({
    url: "/houseEconomicDamageAssess/getDisasterAreasHousesDirectEconomicLosses",
    method: "post",
    data: data,
  });
}
// 查看
export function getEconomicLossesSummaryData(id) {
  return request({
    url: "/evaluationSummary/getEconomicLossesSummaryData",
    method: "get",
    params:{
    	xsemId:id
    }
  });
}

// 查看
export function getDisasterAreasHousesData(data) {
  return request({
    //url: "/houseEconomicDamageAssess/getDisasterAreasHousesData",
    url: "/houseEconomicDamageAssess/getDisasterAreasHousesDirectEconomicLosses",
    method: "post",
    data: data,
  });
}

// 校验
export function getEconomicLossesSummaryTip(data) {
  return request({
    url: "/evaluationSummary/economicLossesSummaryTips",
    method: "get",
  });
}